<template>
    <div>{{msg}}</div>
</template>

<script>
    export default {
        name: "NewsDetail",
        data(){
            return{
                msg:"我是新闻详情页"
            }
        },mounted() {

            /*获取动态路由传值*/
             //console.log("动态路由传值",this.$route.params.id);
            /*GET传值*/
            console.log("get传值",this.$route.query);
        }
    }
</script>

<style scoped>

</style>
